package com.ycy.smartcourseselection.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName(value = "score")
public class Score {
    @ApiModelProperty("成绩唯一标识")
    private String id;

    @ApiModelProperty("课程唯一标识")
    private String courseId;

    @ApiModelProperty("学生学号")
    private String studentId;

    @ApiModelProperty("录入教师工号")
    private String workId;

    @ApiModelProperty("分数")
    private Double score;

    @JsonIgnore
    @ApiModelProperty("创建时间")
    private String createTime;
}
